package cn.itcast.nems.order.service;


import cn.itcast.nems.order.dao.entity.OrderExtend;
import com.baomidou.mybatisplus.extension.service.IService;

import java.beans.IntrospectionException;
import java.lang.reflect.InvocationTargetException;

/**
 * <p>
 * 销售订单头-扩展属性 服务类
 * </p>
 *
 * @author liyong
 * @param <T>
 * @param <T>
 * @param <T>
 * @since 2023-08-31
 */
public interface OrderExtendService extends IService<OrderExtend> {
    /**
     * 根据属性维护拓展表
     * @param orderId 订单ID
     * @param operatorEmail 操作人邮箱
     * @param bean 数据实体
     * @param properties 属性
     */
    void insertByProperties (String orderId ,  String operatorEmail ,Object bean , String ... properties )
            throws IntrospectionException, InvocationTargetException, IllegalAccessException;

}
